﻿using System;


namespace Salamanca.Sdml
{

    public interface IAttribute
    {
        int MaxLength { get; }
        string Type { get; }
    }

    internal class Attribute:
        IAttribute
    {

        public Attribute(string type, int maxLength)
        {
            Type=type;
            MaxLength=maxLength;
        }

        public string Type { get; set; }
        public int MaxLength { get; set; }

    }
}
